<iframe id="print-payment-iframe" ng-src="{{ printURL }}" style="width: 100%; height: 500px; border: none;"></iframe>
<canvas id="hidden_screenshot" style="display:none;" />

<div class="row" ng-show="isPrintNotFound">
  <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
    <p>We can't detect the printer automaticaly.</p>
    <div ng-show="printers.length > 0">
      <p>Please choose one of these printers manually</p>
      <select name="printer" id="printer" class="form-control" ng-model="printer.name" ng-options="printer for printer in printers">
        <option value="" ng-hide="printer.name">Select Printer</option>
      </select>
    </div>
    <p ng-hide="printers.length > 0">No printers detected please make sure you are connected to a device.</p>
  </div>
</div>

<!-- <button type="button" class="btn btn-default no-print" ng-click="printDoc()" ng-disabled="isPrintReady">Print</button> -->
<button type="button" class="btn btn-default no-print" ng-click="printESCP()" ng-disabled="isPrintReady">Print</button>
<!-- <button type="button" class="btn btn-default no-print" ng-click="printHTML()" ng-disabled="isPrintReady">Print HTML</button> -->

<applet id="qz" archive="qz-print/qz-print.jar" name="QZ Print Plugin" code="qz.PrintApplet.class">
  <param name="jnlp_href" value="qz-print/qz-print_jnlp.jnlp">
  <param name="cache_option" value="plugin">
  <param name="disable_logging" value="false">
  <param name="initial_focus" value="false">
</applet>